package com.cssy.yd.logic.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.byd.acegiext.domain.User;
import com.cssy.yd.logic.dao.LogicMaterialReturnItemBatchDAO;
import com.cssy.yd.logic.dao.LogicPoReturnItemBatchDAO;
import com.cssy.yd.logic.entity.LogicMaterialReturnItemBatchDO;
import com.cssy.yd.logic.entity.LogicPoReturnDO;
import com.cssy.yd.logic.entity.LogicPoReturnItemBatchDO;
import com.cssy.yd.logic.service.ILogicPoReturnItemBatchService;
import com.plat.exception.SyBaseException;
import com.plat.helper.SearchConditions;
import com.plat.helper.SearchResult;


@Service("logicPoReturnItemBatchService")
public class LogicPoReturnItemBatchServiceImpl implements
		ILogicPoReturnItemBatchService {
	
@Resource(name="logicPoReturnItemBatchDAO")
private LogicPoReturnItemBatchDAO logicPoReturnItemBatchDAO;
	
	
	@Override
	public SearchResult findListByExample(SearchConditions scs)
			throws SyBaseException {
		SearchResult rs=new SearchResult(scs);
		List<LogicPoReturnItemBatchDO>  list=logicPoReturnItemBatchDAO.find(scs);
		rs.setRecordCount(logicPoReturnItemBatchDAO.count(scs));
		rs.setResults(list);
		return rs;
	}

	@Override
	public Integer delete(String id, User user) throws SyBaseException {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Integer update(LogicPoReturnItemBatchDO t, User user)
			throws SyBaseException {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public LogicPoReturnItemBatchDO save(LogicPoReturnItemBatchDO t, User user)
			throws SyBaseException {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public LogicPoReturnItemBatchDO findListById(String id)
			throws SyBaseException {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Integer deleteBizRemoved(String id) throws SyBaseException {
		// TODO Auto-generated method stub
		return null;
	}

}
